package
{
	import flash.display.Sprite;
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	import flash.text.TextFormat;
	
	public class PuzzleGame extends Sprite
	{
		public function PuzzleGame()
		{
			
			var bg:BJClone = new BJClone(stage);
			stage.addChild(bg);	
			bg.x = 50;
			bg.y = 100;

			var gg:DDClone = new DDClone(stage);
			stage.addChild(gg);
			gg.x = bg.x + bg.width + 50;
			gg.y = 100;
			
			
			var tf:TextField = new TextField();
			tf.defaultTextFormat = new TextFormat('Verdana','20');
			tf.text = 'Match 3';
			tf.autoSize = TextFieldAutoSize.LEFT;
			stage.addChild(tf);
			tf.x = bg.x;
			tf.y = bg.y -tf.height;
			
			tf = new TextField();
			tf.defaultTextFormat = new TextFormat('Verdana','20');
			tf.text = 'RubyBlast/DiamondDash';
			tf.autoSize = TextFieldAutoSize.LEFT;
			stage.addChild(tf);		
			tf.x = gg.x;
			tf.y = gg.y -tf.height;			
		}
	}
}